package com.lsp.data.net

/**
 * @author  lsp
 * @created 2017/8/16 10:19
 */

interface Callback<T> {
    fun onSuccess(result: T)

    fun onApiError(apiError: ApiError)

    fun onHttpError(httpError: HttpError)

    fun onVerifyError()

    fun onEnd()
}
